package com.Extends;

public class NotePad extends Computer {
        private String color;

        public NotePad(String CPU, String Memory, String Hard_disk,String brand,String color) {
                super(CPU, Memory, Hard_disk);
                this.color = color;
        }
        public void setColor(String color) {
                this.color = color;
        }
        public String getColor() {
                return color;
        }
        public String Print02() {
                PC pc = new PC("intel","金士顿","990pro","华硕");
                return pc.Print01()+" 颜色："+color;
        }
}
